<f:layout name="Default" />

This Template is responsible for creating a table of domain objects.

If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
  Resources:
    Private:
      Templates:
        List.html: keep

Otherwise your changes will be overwritten the next time you save the extension in the extension builder

<f:section name="main">

<f:flashMessages />

<section class="section">
	<div class="container">
		<div class="row-fluid">

			<f:widget.paginate objects="{pages}" as="groupPages" configuration="{itemsPerPage: 15, insertAbove: 0, insertBelow: 1, maximumNumberOfLinks: 100}">
			<ul class="posts-grid posts-with-padding-yes three-columns  row-fluid">
				<f:for each="{groupPages}" as="page">
				<li class="posts-grid-item span4">
					<div class="inner-content">
						<div class="post-grid-item-wrap">
							<div class="hoverlay"> 
								<f:link.page pageUid="{page.uid}" class="block">
									<div class="image">
										<f:if condition="{page.media.0}">
											<f:then>
												<f:image image="{page.media.0}" width="345" height="236c" />
											</f:then>
											<f:else>
												<f:image src="EXT:blandes/Resources/Public/images/postgrid.jpg" />
											</f:else>
										</f:if>
										<div class="overlay"> <span class="icon"><i class="icon-blandes-plus"></i></span>
										<div class="overlay-content"> </div>
										</div>
									</div>
									<div class="post-text-wrap-container">
										<div class="post-text-wrap">
											<div class="post-meta">
												<h3>{page.title}</h3>
												<f:if condition="{page.starttime} != 0">												
												<div class="post-meta-info"><span><f:format.date format="d F Y">{page.starttime}</f:format.date></span></div>
												</f:if>
												<p class="excerpt" style="opacity:1">{page.subtitle}</p>
											</div>
										</div>
									</div>
								</f:link.page>

								<div class="post-text-bottom">
									<div><f:link.page pageUid="{page.uid}" class="readmore"><f:translate key="readMore">Lire la suite</f:translate> <i class="icon-arrow-right8"></i></f:link.page> </div>
								</div>
							</div>
						</div>
					</div> 
				</li>
				</f:for>
			</ul>
			</f:widget.paginate>
		
		</div>
	</div>
</section>

</f:section>